package com.recruit.wechat.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author LF
 * @since 2020-08-25
 */
@TableName("wechat_label_type")
@ApiModel(value="WechatLabelType对象", description="")
public class WechatLabelType extends Model<WechatLabelType> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标签类型")
    @TableId(value = "label_type_id", type = IdType.AUTO)
    private Integer labelTypeId;

    @ApiModelProperty(value = "标签类型名字")
    @TableField("label_type_name")
    private String labelTypeName;

    public Integer getLabelTypeId() {
        return labelTypeId;
    }

    public void setLabelTypeId(Integer labelTypeId) {
        this.labelTypeId = labelTypeId;
    }
    public String getLabelTypeName() {
        return labelTypeName;
    }

    public void setLabelTypeName(String labelTypeName) {
        this.labelTypeName = labelTypeName;
    }

    @Override
    protected Serializable pkVal() {
        return this.labelTypeId;
    }

    @Override
    public String toString() {
        return "WechatLabelType{" +
            "labelTypeId=" + labelTypeId +
            ", labelTypeName=" + labelTypeName +
        "}";
    }
}
